package itheima.swagger.controller;

import io.swagger.annotations.*;
import itheima.swagger.entity.Student;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author BGJIAN
 * @Date 2021/12/7
 */


@Api(tags = "hello 控制",description = "对，hello control的描述")
public interface HelloControllerInter {
    @ApiOperation("综合参数的测试方法")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id",value = "学成的编号",dataType = "String",paramType = "path"),
            @ApiImplicitParam(name = "name",value = "学成的名字",dataType = "String",paramType = "query")
    })
    Student mofidyStudentBynNum(@PathVariable("id") String id,
                                @RequestParam("name") String name,
                                @RequestBody Student student);
}
